package com.od.service.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.od.entity.Province;
import com.od.mapper.ProvinceMapper;
import com.od.service.ProvinceService;

@Service
public class ProvinceServiceImpl implements ProvinceService {
    @Autowired
    private ProvinceMapper provinceMapper;

    @Override
    public List<Province> getAllProvinces() {
        return provinceMapper.selectAllProvinces();
    }
}
